package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 * Interface to the DBCustomer
 */
public interface IFDBCus {
 
    public ArrayList<Customer> getAllCustomer(boolean retriveAssociation);

    public Customer findCustomer(int customerID, boolean retriveAssociation);
    
    public Customer searchCustomerCvr(String attValue, boolean retriveAssociation);
   
    public Customer searchCustomername( String name, boolean retriveAssociation);
    public ArrayList<Customer> searchCustomerNames( String attValue, boolean retriveAssociation);
    public Customer searchCustomerID( int customerID, boolean retriveAssociation);

    public int insertCustomer(Customer cus);
  
    public int updateCustomer(Customer cus);

    public int deleteCustomer(int customerID);
    
}